package 每日一题;

public class Date0104 {

    public int fib(int n) {

        return count(n);
    }

    public int count(int num){
        if (num==0){
            return 0;
        }

        if (num == 1 ){
            return 1;
        }

        num = count(num-1) + count(num -2);

        return num;
    }

}
